package com.dongnao.jack.invocate.bean;

import java.io.Serializable;
import java.util.Arrays;

public class HttpInvocateParamBean implements Serializable {

    /** 
     * @Fields serialVersionUID :
     */
    private static final long serialVersionUID = 1894890491856474412L;

    // Bean name
    private String ref;

    // 方法名
    private String methodName;

    // 实参
    private Object[] args;

    // 参数类型
    private Class<?>[] parameterTypes;

    public String getRef() {
        return ref;
    }

    public void setRef(String ref) {
        this.ref = ref;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Object[] getArgs() {
        return args;
    }

    public void setArgs(Object[] args) {
        this.args = args;
    }

    public Class<?>[] getParameterTypes() {
        return parameterTypes;
    }

    public void setParameterTypes(Class<?>[] parameterTypes) {
        this.parameterTypes = parameterTypes;
    }

    @Override
    public String toString() {
        return "HttpInvocateParamBean [ref=" + ref + ", methodName=" + methodName + ", args=" + Arrays.toString(args)
                + ", parameterTypes=" + Arrays.toString(parameterTypes) + "]";
    }

}
